[Unit]
Description=Remote desktop service (VNC)
After=lightdm.service
#After=multi-user.target

[Service]
Type=fork
# Clean any existing files in /tmp/.X11-unix environment


ExecStart=/bin/x11vnc ${auth} ${display} ${rfbauth} ${rfbport} ${{logfille} ${args}
PIDFile=/root/.vnc/%H.pid
ExecStop=/bin/kill -s QUIT $MAINPID

[Install]
WantedBy=multi-user.target